# coding: utf-8
a, b = int(input('输入一个倍数，输出前10项计算结果。\n')), 1
for i in range(10):
    print(b)
    b *= a